<?php
$ro = isset($ro) ? true : false; // read only ?
?>
<?php foreach($products as $product): ?>
    <li>
	<a class="alignleft" href="#" title="<?php echo $product->getName() ?>">
	    <span class="small_frame"><img src="<?php echo myPicture::getInstance($product->getPic())->thumbnail(60,60, 'center')->url() ?>" width="60" height="60" alt="<?php echo $product->getName() ?>"/></span>
	</a>
	<a class="thumbnail_title" href="#"><?php echo $product->getName() ?></a><br/>
	<span class="cart-qty">Kogus: <?php echo $product->getQty() ?></span>
	<span class="cart-price">€ <?php echo $product->getPrice() ?></span>
        <?php if(!$ro): ?>
            <p><a href="<?php echo LinkGen::getInstance(LinkGen::STRUCTURE_ACTIONS)->link(null, array('module' => 'basketPage', 'action' => 'deleteFromBasket', 'productID' => $product->getId())) ?>"><?php echo __('eemalda') ?></a></p>
	<?php endif;?>
        <div class="clearboth"></div>
    </li>
<?php endforeach; ?>
